Learn R Programming

pbdRPC (version 0.1-1)

RPC Control Functions: Sets of controls in pbdRPC.

Description

These sets of controls are used to provide default values in pbdRPC package.

Usage

RPC.CT(verbose = FALSE, intern = FALSE, wait = TRUE, check.exec = FALSE, use.shell.exec = TRUE, pause = TRUE)
RPC.LI(exec.type = "ssh", args = "", pport = "22", user = "snoweye", hostname = "192.168.56.101", priv.key = "~/.ssh/id_rsa", priv.key.ppk = "./id_rsa.ppk")
RPC.RR(check = "ps ax|grep '[r]emoter::server'", kill = "kill -9 $(ps ax|grep '[r]emoter::server'|awk '{print $1}')", start = "nohup Rscript -e 'remoter::server()' > .rrlog 2>&1 < /dev/null &", preload = "source ~/work-my/00_set_devel_R; ")

Arguments

verbose, intern, wait, check.exec, use.shell.exec, pause
RPC control for system, shell.exec, and so on. wait = FALSE allows asynchronous commands which need more test. e.g. continuously port forwarding without sending commands to background.
exec.type, args, pport, user, hostname, priv.key, priv.key.ppk
RPC login information used by rpc(), ssh(), or plink().
check, kill, start, preload
RPC remoter commands used by check_rr(), kill_rr(), or start_rr(). RPC pbdCS commands used by check_cs(), kill_cs(), or start_cs().

See Also

.pbd_env.